more inner class handling