insert check readHeader