public static AbstractCarriage generateLocomotive() {
		AbstractCarriage carriage = null;
		try {
			carriage = LocomotiveFactory.newCarriage(
					new RandomEnum<LocomotiveType>(LocomotiveType.class).random(),
					generateId(),
					generateNumber(),
					generateMaxSpeed());
		} catch (CarriageException e) {
			LOG.fatal("Cant't generete new Locomotive", e);
			System.exit(1);
		}
		LOG.debug("New Locomotive was generaed: " + carriage);
		return carriage;
	}