erased some extraneous comments and code, clarified comments