created trainer for crafted data