backpack method