Scientists have discovered, serendipitously, that a residue of a process used to build arrays of titania nanotubes — a residue that wasn’t even noticed before this — plays an important role in improving the performance of the nanotubes in solar cells that produce hydrogen gas from water.