adding RandomBag
removing obsolete commands