code cleaning.
concat - amd impl.