beginning work on add group function