added NC stuff