making changes to spi