add block argument to pop and shift operations.