added translator class