single thread, get header info