refactorinc and docs