add a buildHosts sample