public function widget($args, $instance){
        $content = $this->widget_content($instance);
        if( $content ){
            echo $args['before_widget'];
            if( isset($instance['title']) && !empty($instance['title']) ){
                echo $args['before_title'];
                echo $instance['title'];
                echo $args['after_title'];
            }
            echo $content;
            echo $args['after_widget'];
        }
    }