added .read() parameter to req variable