Handle empty lines too