NEW ERD

ERD with threads and counters