public Challenge(Connection con, int id, int quiz_id, int challenger_id, String quiz_name, String challenger_name, Timestamp challenged_on) throws SQLException {
		this.id = id;
		this.quiz_id = quiz_id;
		this.challenger_id = challenger_id;
		this.quiz_name = quiz_name;
		this.challenger_name = challenger_name;
		ResultSet rs = con.createStatement().executeQuery("SELECT MAX(score) AS max_score FROM quiz_history WHERE user_id = " + challenger_id + " AND quiz_id = " + quiz_id);
		rs.next();
		this.challenger_best_score = rs.getInt("max_score");
		DateFormat dateInstance = SimpleDateFormat.getDateInstance();
		SimpleDateFormat timeFormat = new SimpleDateFormat("hh:mm aaa");
		this.date_challenged =  dateInstance.format(challenged_on) + " at " + timeFormat.format(challenged_on);
	}