improve notification example