tries to make registers write to text box but doesn't idk