moved notification function from atmos to myutil.