working death matrix
matrix doesn't iterate