formatted the plans table