added fast and accurate modes to training