added deadlock sample