You're nearly there -- you need to start sum off at 0.