extracted spark stuff out of the default recipe into a separate one