latest pi code for SPF