refactored text to present as an exercise