sum with repitate values