prepare to add groupings