Slight format changes and spacing in the code