how tapping works