Adding spi to main