**Tell us what’s happening:**

I cannot complete the two objectives:

bob.getFirstName() should return “Bob”.

and:

bob.getFullName() should return “Bob Ross”.

I have tried both of these on a separate repl.it compiler and It works fine.

**Your code so far**

```
function isPrime(input) {
let prime = true;
for (let i = 2; i <= Math.sqrt(input); i++) {
if (input % i == 0) {
prime = false;
break;
}
}
return prime && (input > 1);
}
var final = 0;
function sumPrimes(num) {
final = 0;
for(var i = 1; i <= num; i++) {
if(isPrime(i)) {
final = final + i;
}
}
var e = final;
console.log(e)
return e;
}
sumPrimes(977);
```

**Your browser information:**

User Agent is: `Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36`

.

**Link to the challenge:**

https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/sum-all-primes