public Cabin getCabin(int cabin_id) {
		Cabin cabin = new Cabin();
		ResultSet rs = null;

		try{
			statement = connection.createStatement();
			String sql = "select * from cabins where cabin_id = " + cabin_id + ";";
			rs = statement.executeQuery(sql);
			while(rs.next()){
				cabin.setName(rs.getString("cabin_name"));
				cabin.setWood(rs.getInt("cabin_wood"));
				cabin.setWood_updated(rs.getDate("wood_updated"));
				cabin.setLat(rs.getDouble("lat"));
				cabin.setLng(rs.getDouble("lng"));
				cabin.setLocation(rs.getString("location"));
				cabin.setCapacity(rs.getInt("beds"));
				cabin.setDifficulty(rs.getInt("difficulty"));
			}
		} catch(SQLException se) {
			se.printStackTrace();
		} finally {
			try{ if(rs != null) rs.close(); } catch(Exception e) {};
			try{ if(statement != null) statement.close(); } catch(Exception e) {};
		}

		cabin.setId(cabin_id);
		return cabin;
	}