protected function setPreset($preset) {
    if (!$this->validate_preset($preset)) {
      return FALSE;
    }

    $presets = $this->get_presets();
    $this->preset = (object) $presets[$preset];
    $this->preset->name = $preset;

    return TRUE;
  }