fixed a bug in gather.  Gathering from a list
added function is_seeded