add code to produce the deadlock scenario