This should be outside the function, you don't want to initialise the object on every request