added reset listener