modified SP