Could be useful to have a render tooltip function