better xml for create definition