handled  extra newlines