woring with function translate
working with function translate