Implement ienumerable (first version)