verified that the SPI data is shifted, need to be fixed