Edited cat 3 algs.