get the prefix once / no recalc each time the func is invoked