define boxed register functions; fix typos