Also added some comments and todos Also fixed debug messages in remove_from_all_containers Also refactored duplicated code with extracted function Also removed some commented lines of code