changed order of params in notifications switch