commited new verson of spi pic code