optimizing translate