Changing function calls to use char datatype - trying to avoid explicity casts