Setting up the train