removed the unnecessary Train call from the autorun function