adds clicks and reset functionality