adding reset of register between transfers