added utf8 encoding at the start of the code