Working with write Reg.