checkPriorities