removed set & reset
removed set, reset to remove redundancy
Examples changed