finished in class exercise