added parallel processing to KCV