Replace downsample with resample, since it doesn't have to be down