complete cycle for training