simplify create group procedure