adding attachtempClickHandler back in temporarily