Eagles extension to refactoring homework