public static function get_instance()
 {
     if (!(self::$instance && is_a(self::$instance, __CLASS__))) {
         self::$instance = new self();
     }
     return self::$instance;
 }