Work on gate connecting and rendering