Modified translator code