I'm not sure if this is the correct fix but without this one line the code wouldn't compile and it would say that "data" wasn't declared.