made changes to Register