Replicates an error I"m having with shifting