Initialize req to NULL to make sure it's defined if the