a black box with a group of bags