changed sum with any