add three algorithms Oct 2nd