small rewrite (register naming)