Code is modified for language conversion