reset() example