projects refactoring