my lousy attempt at Issue #4