added goal orientation to planner