columnInfo, adapted code from @johanneslumpe in #190