begining of NCF parser