almost done notification function