added SNCC, NCC, debugged SAD