inner class sample added