some applications with Spark