private Quiz[] quizQuery(DBConnection con, String query) {
		ResultSet rs;
		try {
			rs = con.getStatement().executeQuery(query);
			rs.last();
			int numRows = rs.getRow();
			rs.first();
			Quiz[] quizzes = new Quiz[numRows];
			for (int i = 0; i < numRows; i++) {
				int quiz_id = rs.getInt("quiz_id");
				quizzes[i] = new Quiz(quiz_id, con);
				rs.next();
			}
			return quizzes;
		} catch (SQLException e) {
			e.printStackTrace();
			return null;
		}
	}