This code was authored by Natalia Kulatova.