refactored to provide a SIMPLIFIED example