added downsampling agent