priorityQueue and simple stack added