added dependent batch feature