change function getNotification