made the original req and res object public variables instead of private ones