extracts xml data now