got the click events working