sum with rekurs