Removed on click and added comment with previous code for future implementation