change inject to reduce