working on planner rest functions