using root as public