added support to see whether requests fail