cleaned up old code on translator class