A modified Newton-like method for nonlinear equations