some changes to planner