refactoring tooltips