checking in Ingwie's code extracted from the previous binary archive.