updated Shift to support queue population