Basic parallel implementation