make ocprt setAll and getAll internal methods