created to_arabic method