almost got reset to work