add taps functionality