more changes to spi