added batch request support