ws_fnc_createGroup update

improved createCenter
function returns group