parties come away thinking that their arguments were ignored, or that they were denied a fair opportunity to respond to the judge's analysis. For these reasons, we urge judges to notify the parties when they tentatively conclude that an issue should be decided on a factual or legal basis that was not previously raised or litigated. The judge should inform the par t his or her sentence for time spent in a residential treatment facility is governed by AS 12.55.027. This credit is still informally known as "Nygrem" credit because Nygren v. State, 658 P.2d 141 (Alaska App.1983) is the court decision that first acknowledged a defendant's right to sentencing credit for time spent in treatment under jail-like conditions. 8 . See, e.g., Williams v. State, 924 P.2d 104, 108 (Alaska App.1996) (<HOLDING>). 9 . See Kelly v. State, 842 P.2d 612, 613
holding that a condition of probation requiring the defendant to spend up to one year in a halfway house at the discretion of the probation officer was lawfully imposed under as 1255100a5 because it was imposed as part of the original sentence holding that probation is not a sentence holding special conditions of probation must be imposed at sentencing and may not be imposed at resentencing holding that it is sufficient grounds to revoke a probation if only one condition of the probation is broken holding that prison term following revocation of probation is a modification and part of the actual sentence imposed for the original offense