It's probably worth renaming `found` to `found_func` to make it clear what the type is.