Revert "add public"

This reverts commit 52f9022caa2235013742166400883e0e026b5812.