implementing notification