removed spaces from end of lines.