empty lines should be skipped