makes all_buddies and all_enemies methods work