modify the layers
added train()