added spark class