last modifications has not been tested yet, SPI still doesn't work