added BestPack class