giving callback access to click event
updating docs