back out new algorithm