not sure why I changed segst from a pointer to seqsrchst_t