Change alghorithm to algorithm