refactor, renamed Heading to Direction