Code for Donut-1