as a portion of the plea agreement to avoid the death penalty