allow different notification types (#10)