class exercises