dealt with ns and end of sequence blocks correctly