Removed trailing spaces, fixed indentation