edited register and other things