adds new_line in print_dynamic