adding code to tapping API section