attempting to fix req/res