converted set of variables to object on register page