not depending on global state in notifications service