added inner class