...undid what I did just before I left. There is definitely some schema confusion here. We don't need the fid table. It was there to disambiguate the feature ids from various feature-type tables. Now that there is only one feature table, we can go with the feature id alone, and get the contig id whenever we need it from the feature table. If you look at schema.dia or the schema file, there is no fid table anymore. So we need to change Spider and Context again to make them look for the contig_id from the feature or Feature table, and remove all references to the fid table. Does this make sense? Dave