first pass at tip text generating function