added translator base code