and the perform method should be called like this:
person.perform(work: { p in "\(p.name) is working"})