name improvement for inner class