added priority field