Latest Functional Program For SP