added batching
compiles