cleaner reduce example