code path calculation implemented