modify for reset