docs, made a fn private