writing public interface of notification classes