adding subsampler