fixed, added newline at EOF and whitespaces removed