parsing to xml and basic pic parsing starting point