spark work