remove send_str, use puts to send string