use xtend to combine objects