add onclick event listener