Forgot to return listing_string in generate_output().