Open-source code by Veronika Kikot