not yet working: sum incorrect!