added sending of notifications