List concatenation problem resolved