Functional again
added reset()