commented out and removed parts referencing taboffset. Seems to work fine.