cleanup

simpler functions for path creation