attempt to add a bit of click event handling