added SPARK define