Minor reformatting, added additional comments