Commenting publicly for the first time about Google’s censored search engine for China, CEO Sundar Pichai said onstage at the WIRED 25 summit in San Francisco that the company is taking “a longer-term view” about the country. Codenamed Project Dragonfly, the controversial development has been public knowledge since a report in August by the Intercept, generating significant backlash, with several employees resigning in protest.

Google did not confirm Project Dragonfly’s existence until its chief privacy officer, Keith Enright, spoke at a Senate hearing last month. Even then, Enright did not provide much information about the project, so this means Pichai’s comments at WIRED 25 are the most detailed ones made officially by Google’s leadership so far.

Even before Project Dragonfly was revealed by The Intercept, Google had already been quietly working on a strategy to re-enter China, including launching (or re-launching) apps through third-party Android stores (Google Play is not available in China) and working with partners like Xiaomi and Huawei to introduce its ARCore technology for augmented and virtual reality there. Pichai said Google has not decided if it will actually launch Project Dragonfly in China. If it does, its biggest competition would be Baidu, which not only operates China’s largest search engine, but also runs a host of online services and AI research labs in Beijing, Seattle, and Sunnyvale, California.

Pichai said that Chinese tech innovations means it’s time for Google to get an understanding of the market from the inside out. “It’s a wonderful, innovative market. We wanted to learn what it would look like if we were in China, so that’s what we built internally,” adding that “given how important the market is and how many users there are, we feel obliged to think hard about this problem and take a longer-term view.”

Even though it follows China’s strict censorship laws, Pichai claimed that Project Dragonfly will still be able to answer “well over 99% of the queries” put to it and that “there are many, many areas where we would provide information better than what’s available.”

Google once operated a censored search engine in China at Google.cn, but pulled out of the country in 2010. At the time, Google said its decision was prompted by a “sophisticated cyber attack originating from China” that targeted human rights activists, and the country’s efforts to “further limit free speech on the web in China” by blocking websites like Googe Docs, Blogger, Facebook, Twitter and YouTube.

For its critics, Project Dragonfly’s existence means Google has reneged on the values it avowed nine years ago. While onstage at WIRED 25, however, Pichai said working on a search engine is in line with the company’s mission to “provide information to everyone,” noting that China contains about 20% of the world’s population.

Google only embarked on Project Dragonfly after much deliberation, he said. “People don’t understand fully, but you’re always balancing a set of values” when entering new countries,” adding “but we also follow the rule of law in every country.”