unnecessary variable 'req' removed