Changes in summ functuin