Adding parallel processing