Plug the rest of the algorithm