The Algorithm/Extensions