reduce condition