added a proof of concept for the click handler