Diagonal method