Just for separate the connections and queries