added hover function, click not working