paranoid refactoring