use lapply instead of mclapply for now