change reset() to refresh()