reformatted code, removed unneeded imports
changed encoding to UTF-8