add old translate method back for profiling