reduce duplication.