isolated training script