parse table reader integrated into main loop