added static batching