rest of Algos