cleaned up code, changed amount of findgatherings allowed, add comments, changed background