Not declared in scope, I have no idea why this isn't working

Thanks, didn't know that. I am still working with 1.8.13