implemented clicks by images