Add tap function
Update example in some of the docs
Update docs for tap