nearly finished with sequence extractor, but needs tests