refactor CreateRegister func and object struct / extend helper func
refactor CreateRegister func and object struct / extend helper func