changed connections to vector, not really sure why i had them as unordered_map anyways