implementation of notifications