On the old–new method of solving nonlinear equations