Added an alg