make some useful functions public