added support for bulk requests