added translator logic