innerclasses ex18 done