add push_back, push_front, pop_front
also detect example