removed psuedocode from main(xml)