move some functions from provider to Char class