added priority enum