refactoring
challenge 8