Implemented all shifting commands