adds notifications. fixes #2