for xml reading