added deadlock example