Corrected spelling, grammar and added indentation.