removed boolean root validator, pep8 formatting