added tooltip functionality