The term for words such as after, before, following, and then would be "conjunctions". If you're having trouble remembering this just think about how they "join" at a "junction" two different parts of a single sentence.
Think about the boys how do they feel? They must feel very left out. (from a girl's respective lol)