beginn to implement garbage collector for backpack