basic implementation of notifications