move some methods to public