Pipelink

Pipelink (Paipurinku) is a Japanese logic puzzle. Draw a loop in the grid that goes through all the specified segments of the path.

Pipelink

Rules: A single loop must be drawn on the grid. The individual segments of the loop run horizontally or vertically between the centres of orthogonally adjacent cells.
The loop must run through all cells, use all specified segments, and may cross itself at will.