added SumOfCubes