extend/append - second version