big commit from on-line changes made while working at CHESS