add notifications (fixes #39)