better illustrate how to reduce duplication