implement translator main entry point