Added parallel processing