add queue and priority queue structure