innerclasses ex12 done