If each isn't defined, item is a function