added reset function
fixed merge confilct (removed tabs)
Merge pull request #13 from VCTLabs/master

Add reset function