made some fns public