tweaking new line logic to use only EMC operators