updated the inflector class and data class