added thrash count