removed priorityqueue