added phi_SPL calculations