Added block matching and dying