Open-source code by Francesca Fortunato