add call to setgid