add resets

fixings #2