first draft of translator class