updated fence and fgnd