add and retrive items from queue