added Reset

added reset functionality