Changed global vars to use char

gotta change this if we change the rest