added method to batch requests