trying to get the click handling working