added getNotification() method