Added Gen.collect to Gen.fs