add translator logic