adding the plan to index