create the plan