Removed trailing spaces and improper indent