why req is created here? doesn't look like it is going anywhere.