Code to read priority, start date and end date.