added sum of squares difference problem