replacing hashtable: Connection.hs