first phase of design process refactoring