SPIM code working :)