Replaced 'join' with 'intercalate'