More algorithm work.