Only actual fox algorithm left to do.