Planning to discover, discovering to plan.