finished class exercises