SPI stuff added