protected function getBar($name = 'default')
    {
        // fire event that can be hooked to add items to the nav bar
        $this->events->fire('navigation.bar', [['name' => $name]]);

        // check if the name exists in the bar array
        if ($name !== 'default' && !array_key_exists($name, $this->bar)) {
            // use the default name
            $name = 'default';
        }

        if (!array_key_exists($name, $this->bar)) {
            // add it if it doesn't exists
            $this->bar[$name] = [];
        }

        // don't apply active keys
        $nav = $this->bar[$name];

        // fix up and spit out the nav bar
        return $this->process($nav);
    }