spark example