added old spi files - need work