adding trains automatically - take 1