Finalized solution