path helper functions, in or out path?