started adding spark support