adding events works