supported inner class.
忘れた．．．
use print method instead of print statement