finished adding group api