completed queue data structure