translate types primitives & complex, add example