Implemented for batch system