Added braces, changed the variable names, the encoding,