changed reset to clear.