public ResultSet executeQuery(String query){
		success = true;
		prepareConnection();
		try {
			Statement statement = connection.createStatement();
			return statement.executeQuery(query);
		} catch (SQLException e) {
			e.printStackTrace();
			success = false;
		}
		closeConnection();
		return null;
	}