updated to have the correct notifications comparisons