add function for marking 'N' regions