semi-working planner, needs new definition for finding/generating subsets