added paraTask to parallel implementation