making register work