Alg_peter_yates