added new class PriorityType