Left to do validation and XML