added level1_2 alg