changed reset so it is not a flush