build that uses XML