this is the xml maker code