private void setInstanceVars(ResultSet rs) throws SQLException {
		
		quizDescription = rs.getString("description");
		dateCreated = rs.getTimestamp("created_on");
		DateFormat dateInstance = SimpleDateFormat.getDateInstance();
		SimpleDateFormat timeFormat = new SimpleDateFormat("hh:mm aaa");
		formattedDateCreated = dateInstance.format(dateCreated) + " at " + timeFormat.format(dateCreated);
		
		multiplePages = rs.getBoolean("multiple_pages");
		randomized = rs.getBoolean("randomized");
		immediateFeedback = rs.getBoolean("immediate_feedback");
		title = rs.getString("title");
		practiceMode = rs.getBoolean("practice_mode");
		
		int createdByID = rs.getInt("created_by");
		theCreatedByID = createdByID;
		
		ResultSet currRS = statement.executeQuery("select * from users where id = '"
				+ createdByID + "'");
		currRS.next();
		createdBy = currRS.getString("username");
	}