added tooltip calculation definitions