Completed typing out example