Just hash function changes no casting :)

I think uppercase letters look much better :) Also my first commit had some casting changes by accident so feel free to delete it (I don't know how)