Using smartPlan