@Override
    public ResultSet fillData(String command) {
        try {
            if (connection.isClosed())
                connect();
        } catch (SQLException e) {
            connect();
        }
        try {
            return connection.prepareStatement(command).executeQuery();
        } catch (SQLException e) {
            e.printStackTrace();
            return null;
        }
    }