figure out the path