working on planner model