add three algorithms, Oct 9th