Improve training method