improved phyiscal planner.