Tried to add summation. Ok for single not for nested...