minor adjustments mclapply --> lapply