intergarted the click functionality