implement notification manager.