added some spark code