finished NER and NEdT calc