-refactoring resources