added translation for type