remove merge() function, use builtin join() instead