'He contemplated marrying his cousin.' Here 'marrying' is a/an-