amended carriage class so it keeps a record of its train