testing some error handling stuff, making some req/res changes