Add reset

Continuation of #11