Spark planning