added alg27