Use reset() instead of manual resetting