Added priority field