code for kml but commented because something is not right