new method routing() added to Batch