Add missing 'then'