tooptip feature added, needs  refactoring