train.java delete some code