set up training structure