using HashMap instead of Vec to store connections