checking the diagonals now