training process prototype done.