batched platforms, still needs some optimization
merged branch 26-batch-platforms-a