Add shift and pop operations