testing modified solver