needs to number groups in show action