removed abstract bag
Generics for bags