early work, still no downsampling (for #25)