Add Last Algorithm