inner classes ex 26 done