add functionality to notification