added SPI modified library