use SPI and modifying values in slave