This outputs values and tries to match a generator function