make registers working.