Yajilin

Yajilin (Arrow Ring, Straight and Arrow) is a Japanese logic puzzle. Blacken some cells, and between them, make a loop through the remaining cells.

Yajilin

Rules: Blacken some cells of the grid and draw a single closed line in the grid that does not cross or touch itself anywhere. The individual sections of the line run horizontally or vertically between the centres of orthogonally adjacent cells.
The line must pass through all the empty white cells. The number in a cell indicates how many black cells there are in the direction of the arrow (to the edge of the grid, not to the next number or black cell). There may well be black cells to which no arrow points.
Cells with numbers must not be blackened. Two black cells must not be orthogonally adjacent to each other. Cross cells do not count as black cells, but the loop cannot pass through them.