Integrated code for planner interaction