figure out pwd