finish class `Problem`