added indentation and made minor textual changes.