This should be declared as a const outside the function