Flexibility in formation of groups