sides are hashmap from now on