Wrote some of the register section