As Spanish microbiologist Pilar Bosch was casting around for a subject to investigate for her PhD in 2008, she stumbled across a paper suggesting that bacteria, her field, could be used in art restoration, her mother's own area of expertise.
At that same moment, her mother - Pilar Roig - was struggling to restore 18th-century paintings by Antonio Palomino in one of the oldest churches in Spain's third city, Valencia.
She was finding it particularly difficult to remove glue that had been used to pull the frescoes from the walls of Santos Juanes church during restoration work in the 1960s.
"My mother had a very difficult problem to solve and I found a paper about bacteria used to clean frescoes in Italy," Bosch, 42, said.
She did her PhD on that project. And more than a decade later, daughter and mother have joined forces on a 4-million-euro ($4.46-million) project, funded by local foundations, to use some of the techniques to restore the artworks in Valencia.
The microbiologist trains bacteria by feeding them samples of the glue which was made from animal collagen. The bacteria then naturally produce enzymes to degrade the glue.
The family team then mixes the bacteria with a natural algae-based gel and spread it on the paintings - which were taken from the walls in the 1960s, then nailed back on, still covered in glue.
After three hours, the gel is removed, revealing glue-free paintings.
"In the past, we used to work in a horrible manual way, with warm water and sponges that took hours and damaged the painting," said Roig, now 75, whose father and grandfather along with other relatives also worked in art conservation.
Her microbiologist daughter has now joined in. "It certainly runs in the family," Bosch said, as both stood in lab coats, supervising the restoration.
Bosch has also applied her use of bacteria to restoration projects in Pisa and Monte Cassino in Italy and in Santiago de Compostela in northern Spain. She is now training up cohorts of a different kind of bacteria to clear walls of spray-painted graffiti.