check for lines