needs to adjust the spiSample() parameters