updated System.reset() example