public static List<User> getUsersForInfo(User myself, String firstName, String lastName, String gender, String Class){
		ArrayList params = new ArrayList();
		//create array of params
		ArrayList requiredTraits = new ArrayList<String>();  
		if(!firstName.equals("")){
			requiredTraits.add(" FirstName LIKE ?"); 
			firstName = "%" + firstName + "%";
			params.add(firstName);
		}
		if(!lastName.equals("")){
			requiredTraits.add(" LastName LIKE ?");
			lastName = "%" + lastName + "%";
			params.add(lastName);
		}
		if(!gender.equals("")){ 
			requiredTraits.add(" Gender = ?");
			params.add(gender);
		}
		if(!Class.equals("")){
			requiredTraits.add(" Class = ?");
			params.add(Class);
		}
		String query = "SELECT UserID FROM datingsite.UserData";
		//for array length
		for(int i = 0; i < requiredTraits.size(); i++){
			if (i == 0){
				query += " WHERE";
			}
			else{
				query += " AND";	
			}
			query += requiredTraits.get(i);
		}
			//first time add where
			//next time add and
			//String x = " FirstName LIKE ? AND LastName LIKE ? AND Gender = ?  AND Class = ?;";
		ArrayList<User> matches = new ArrayList<User>();
		try {
			ResultSet rs = getUsersExecutionHelper(params, query);
			System.out.println(rs);
			while(rs.next()){
				User match = new User(rs.getString("UserID"));
				if (match != myself){
					matches.add(match);
				}
			}
			System.out.println(matches.toString());
			return matches;
		} catch (SQLException e) {
			e.printStackTrace();
		}
		return null;
	}