added SparkUtil.java