made batch reactor more easily subclassed