two class exercises