join_lines command implementation attempt