Trying out some new algorithm