Finished the slide with code in main.