make sure to end req