working on reduce step for autosys and countries