ben's training code