Use arguments in pcall() and not an enclosed function.