added tooltip to the plot