Old algorithm stuff removed.