improvements on group creation