a group of bags and squares