A new method could greatly speed up the development of novel new materials for future photovoltaic cells.