lab1+2_with_bags