add planner init method