Preposition + gerund | Grammaring
https://www.grammaring.com/preposition-gerundAs a gerund clause serves as a noun, it can be used after prepositions: After watching the movie, I wanted to read the book. Andrey's parents were against his joining the water polo team. He stayed at home instead of going to school. What about going out tonight? He rushed out of the room without saying a word.. A gerund clause can also be the object of a preposition after a verb, …