added reset feature