correctly implement concatenation callback.