adding group to table