Smart planning