square lattice model whose state is a set of orientations for every edge such that at each vertex an even number of arrows point inward