scala fences