add three algorithms Oct 29th