Corner Fences

Find a way that travels from dot to dot, horizontally and vertically only, and ends where it began, never touching or crossing itself. The numbers indicate the number of adjacent corners where the path bends 90 degrees.

Example:

Example

Puzzle:

Corner Fences