expose some private functions