add function for code translation