finish the registers