added pre for xml formattinfg