updated tooltip logic