expose relative_to function