trying to eliminate duplication