added clearBatch and methods to manipulate batch / trans status