-added deprecated notification onfinish