Ordered that the judgment is affirmed.
The defendant's valid and unrestricted waiver of his right to appeal precludes appellate review of his claim that the sentence imposed was excessive ( see People v. Hidalgo, 91 NY2d 733; People v. Headley, 289 AD2d 341).