initial readtable implementation