Continued working on integrating new sequence search - not complete (not working)