adding tap events