distributeApply works fine.