Batch and on-line methods