train_net() method is now alive