Use join() instead of implode() and use join() with break