renamed getFirst pickBestPlan