use object-assign