using a planner