Fixed scheme 1, added scheme 2, added comments