add gen-cases for training