Fix problems with special characters and reformat the code
Format the code
Reformatting the code and fixes for special characters