added comma
Switched res and req