some naughty translation code