added thrashing