refine the notify utility