Finished in-class exercise