Fixed code indenting and removed new line at the end of the file.