alg first try