add reset after n encounters