Refactor to directions