added spark example