updated hover code