added exceptions to response