added prioritization for notifications