Spark tuning