Added elems deque method