add three algorithms Oct 10th