renamed convertlines to convertnewlines