private void addPassengerCarriage() {
			boolean valid = false;
			String input = "";
			int weight = 50;
			int seats = 50;
			
			do {
				input = (String)JOptionPane.showInputDialog(null,
						"Specify Carriage Weight (tonnes)\n" +
						"Between 50 and 200", "Carriage Weight",
						JOptionPane.INFORMATION_MESSAGE, null, null, 50);
				try { 
			        weight = Integer.parseInt(input);
			        if (weight >= 50 && weight <= 200) {
			        	valid = true;
			        }
			    } catch(NumberFormatException e) { 
			        valid = false;
			    }
			} while (!valid);
			
			valid = false;
			
			do {
				input = (String)JOptionPane.showInputDialog(null,
						"Specify number of seats in carriage\n" +
						"Between 0 and 200", "Carriage Seats",
						JOptionPane.INFORMATION_MESSAGE, null, null, 0);
				try { 
			        seats = Integer.parseInt(input);
			        if (seats >= 0 && seats <= 200) {
			        	valid = true;
			        }
			    } catch(NumberFormatException e) { 
			        valid = false;
			    }
			} while (!valid);
			
			try {
				Train.addCarriage(new PassengerCar(weight, seats));
			} catch (TrainException e) {
				errorHandler(e);
			}
		}