Adding a batching mechanism and ordering mechanism
