moved tooltip initialisation