add a tap event