something wrong with parallel for