need to check if line is empty