trying out a new algorithm