non functioning spi
still nonworking code