adding basic parallel processing