add queue, stack