Polished reduce logic