Changes in train.py