concequent and basic refactoring in place