use 1 function for all tooltips
relix code review. #361
relix code review, part 2 #361