more code translation