refactors namespace