Implementing the shift.