Added shiftout routine