Fix bug in Shift (missing argument passing)
Added some missing functions