add 'then' snippet