Added combineSamples