Credit refactoring