Added SPI response function