On some iterative methods for solving nonlinear equations