preparations for tooltips