Changing to parallel implementation.