I am an English learner. Recently I encountered a sentence that is confusing to me, as shown below:
With this approach the functionality of the system is specified through use cases, with each case specifying the behavior of the system when a user interacts with it for achieving some goal.
I know every single word in the sentence, including "use cases". Yet, "with each case specifying the behavior of the system" seems like an unfinished sentence to me. How should I comprehend this quoted sentence?
In my head, this quoted sentence should better be "with each case the behavior of the system can be specified".