implemented SP block model