inner classes ex 21 done