Text this: Nitrogen oxide in protostellar envelopes and shocks