Added connections and databaseName functions