Add notification code and procedure