Finished gml generation