Open-source code by Lucy Joyce