Define SHIFT locally