concat function is not needed, builtin append works in place