inner class bs