refactoring ex2