planner removed (dead code)