use SparkLib for fail