started training code