lib.tooltip method added