Added some alg ideas