readded some SPI calls