added pointer support to tap