changed make_text function to while loop