Starting to develop the new algorithm