Implemented some functionality for group creation