complete the regist