protecting the transactions in a lock
Adding the packet “count” to the graph