`tr` here, `reg` elsewhere, `freg` elsewhere again. Can you make them consistent, please?