public function draw(array $data)
    {
        $lengths = $this->calcLength($data);

        $this->writeHeaders($lengths);

        $this->writeData($data, $lengths);

        $this->writeFooter($lengths);
    }