NOS code learning