added the --reset command