finish class exercise