public group api implemented and tested