added reset packet feature