sumArray syntax error