renamed PurgeCommand to ResetCommand