change scan to read.table, so it could read string-value name column