static inner class for performances
minor