public function offsetGet($key)
    {
        $key = $this->count - $key - 1;
        if (!isset($this->data[$key])) {
            throw new \OutOfRangeException("Out of range.");
        }

        return $this->data[$key];
    }