sumdiffproduct added