also notes how the
algorithm at ends ___