added the inner class example