The starting challenge code does not have such a structure. I assume you were copying/pasting from one of the solutions showing after clicking the Get a hint button. Those were outdated solutions from when the challenge was different. I have updated the solution to reflect the current version of the challenge. You should be using arrow function syntax as the original challenge seed showed.