algs work