Shifting operation now works