Working with spark utility